
import {hrAjax as proFetch} from '../../../../../../hrpub/common/utils/utils';



export default function(postData, type) {

    let url = '/nccloud/hrhi/keypsn/GroupEnableAction.do'
    if(!type) {
        url = '/nccloud/hrhi/keypsn/GroupDisableAction.do';
    }

    return proFetch({
        url: url,
        body: postData
    });

}